package pl.vanta.mjuzik2.api.services;

import pl.vanta.mjuzik2.api.AudioFile;
import pl.vanta.mjuzik2.api.listeners.PlayerEventListener;
import pl.vanta.mjuzik2.api.listeners.PlayerProgressListener;

public interface PlayerService
{
	public void play(AudioFile audioFile);

	public void pause();

	public void stop();

	public void setVolume(double gain);

	public void setBalance(double balance);

	public void addPlayerEventListener(PlayerEventListener pel);

	public void removePlayerEventListener(PlayerEventListener pel);

	public void addPlayerProgressListener(PlayerProgressListener listener);

	public void removePlayerProgressListener(PlayerProgressListener listener);
}